<?php $this->_extends('_layouts/user_layout'); ?>

<?php $this->_block('pageCss'); ?>
	<link rel="stylesheet" type="text/css" href="<?php echo $css_url; ?>blog.css" />
<?php $this->_endblock(); ?>

<?php $this->_block('pageJs'); ?>
	<script src="<?php echo $js_url; ?>jquery.picportionresize.js" type="text/javascript" ></script>
	<script src="<?php echo $js_url; ?>jquery.easing.js" type="text/javascript" ></script>
	<script src="<?php echo $js_url; ?>jquery.masonry.js" type="text/javascript" ></script>
<?php $this->_endblock(); ?>



<?php $this->_block('title'); ?>
	title text
<?php $this->_endblock(); ?>


		
<?php $this->_block('contents'); ?>

<?php 
	$this->_element('categories', array(
		'links' => array(
			'active' => array('text' => '类别1', 'href' => 'http://link.com'),
			array('text' => '类别2', 'href' => 'http://link.com'),
			array('text' => '类别3', 'href' => 'http://link.com'),
			array('text' => '类别4', 'href' => 'http://link.com'),
		)
	)); 
?>

<section class="content">
	<article>
		<div class="list">
			<article class="item fleft ff_sf_cr_op_box-shadow2">
				<div class="header">
					<h3>
						<a class="toggle" href="#">
							Pinterest is for ALL artists. Yes, even dudes.
						</a>
					</h3>
					June 29, 2012 
					<span>/</span> 
					<a rel="category tag" title="View all posts in Inspiration" href="#">Inspiration</a>
				</div>
				<div class="preview">
					<a href="#">
						<img title="preview" alt="preview" src="<?php echo $img_url; ?>test/thumbnail/a.jpg">
					</a>
					<div class="anons">
						<p>This episode of FRAMED shows a personal glimpse into how Jeremy balances it all… marriage, kids, work and life in general…</p>
					</div>
				</div>
				<div class="meta">
					<a class="comments-link" href=""><span>&nbsp;</span>10 comments</a>
					
					<a rel="external" class="social-icon facebook" href="" target="_blank">Facebook</a>
					<a rel="external" class="social-icon twitter" href="" target="_blank">twitter</a>
					<a rel="external" class="social-icon google" href="" target="_blank">google plus</a>
					<a rel="external" class="social-icon pinterest" href="" target="_blank">pinterest</a>
				</div>
			</article>
			
			<article class="item fleft ff_sf_cr_op_box-shadow2">
				<div class="header">
					<h3>
						<a class="toggle" href="#">
							Pinterest is for ALL artists. Yes, even dudes.
						</a>
					</h3>
					June 29, 2012 
					<span>/</span> 
					<a rel="category tag" title="View all posts in Inspiration" href="#">Inspiration</a>
				</div>
				<div class="preview">
					<a href="#">
						<img title="preview" alt="preview" src="<?php echo $img_url; ?>test/thumbnail/b.jpg">
					</a>
				</div>
				<div class="meta">
					<a class="comments-link" href=""><span>&nbsp;</span>10 comments</a>
					
					<a rel="external" class="social-icon facebook" href="" target="_blank">Facebook</a>
					<a rel="external" class="social-icon twitter" href="" target="_blank">twitter</a>
					<a rel="external" class="social-icon google" href="" target="_blank">google plus</a>
					<a rel="external" class="social-icon pinterest" href="" target="_blank">pinterest</a>
				</div>
			</article>
			
			<article class="item fleft ff_sf_cr_op_box-shadow2">
				<div class="header">
					<h3>
						<a class="toggle" href="#">
							Pinterest is for ALL artists. Yes, even dudes.
						</a>
					</h3>
					June 29, 2012 
					<span>/</span> 
					<a rel="category tag" title="View all posts in Inspiration" href="#">Inspiration</a>
				</div>
				<div class="preview">
					<a href="#">
						<img title="preview" alt="preview" src="<?php echo $img_url; ?>test/thumbnail/c.jpg">
					</a>
				</div>
				<div class="meta">
					<a class="comments-link" href=""><span>&nbsp;</span>10 comments</a>
					
					<a rel="external" class="social-icon facebook" href="" target="_blank">Facebook</a>
					<a rel="external" class="social-icon twitter" href="" target="_blank">twitter</a>
					<a rel="external" class="social-icon google" href="" target="_blank">google plus</a>
					<a rel="external" class="social-icon pinterest" href="" target="_blank">pinterest</a>
				</div>
			</article>
			
			<article class="item fleft ff_sf_cr_op_box-shadow2">
				<div class="header">
					<h3>
						<a class="toggle" href="#">
							Pinterest is for ALL artists. Yes, even dudes.
						</a>
					</h3>
					June 29, 2012 
					<span>/</span> 
					<a rel="category tag" title="View all posts in Inspiration" href="#">Inspiration</a>
				</div>
				<div class="preview">
					<a href="#">
						<img title="preview" alt="preview" src="<?php echo $img_url; ?>test/thumbnail/d.jpg">
					</a>
				</div>
				<div class="meta">
					<a class="comments-link" href=""><span>&nbsp;</span>10 comments</a>
					
					<a rel="external" class="social-icon facebook" href="" target="_blank">Facebook</a>
					<a rel="external" class="social-icon twitter" href="" target="_blank">twitter</a>
					<a rel="external" class="social-icon google" href="" target="_blank">google plus</a>
					<a rel="external" class="social-icon pinterest" href="" target="_blank">pinterest</a>
				</div>
			</article>
			
			<article class="item fleft ff_sf_cr_op_box-shadow2">
				<div class="header">
					<h3>
						<a class="toggle" href="#">
							Pinterest is for ALL artists. Yes, even dudes.
						</a>
					</h3>
					June 29, 2012 
					<span>/</span> 
					<a rel="category tag" title="View all posts in Inspiration" href="#">Inspiration</a>
				</div>
				<div class="preview">
					<a href="#">
						<img title="preview" alt="preview" src="<?php echo $img_url; ?>test/thumbnail/e.jpg">
					</a>
				</div>
				<div class="meta">
					<a class="comments-link" href=""><span>&nbsp;</span>10 comments</a>
					
					<a rel="external" class="social-icon facebook" href="" target="_blank">Facebook</a>
					<a rel="external" class="social-icon twitter" href="" target="_blank">twitter</a>
					<a rel="external" class="social-icon google" href="" target="_blank">google plus</a>
					<a rel="external" class="social-icon pinterest" href="" target="_blank">pinterest</a>
				</div>
			</article>
			
			<article class="item fleft ff_sf_cr_op_box-shadow2">
				<div class="header">
					<h3>
						<a class="toggle" href="#">
							Pinterest is for ALL artists. Yes, even dudes.
						</a>
					</h3>
					June 29, 2012 
					<span>/</span> 
					<a rel="category tag" title="View all posts in Inspiration" href="#">Inspiration</a>
				</div>
				<div class="preview">
					<a href="#">
						<img title="preview" alt="preview" src="<?php echo $img_url; ?>test/thumbnail/f.jpg">
					</a>
				</div>
				<div class="meta">
					<a class="comments-link" href=""><span>&nbsp;</span>10 comments</a>
					
					<a rel="external" class="social-icon facebook" href="" target="_blank">Facebook</a>
					<a rel="external" class="social-icon twitter" href="" target="_blank">twitter</a>
					<a rel="external" class="social-icon google" href="" target="_blank">google plus</a>
					<a rel="external" class="social-icon pinterest" href="" target="_blank">pinterest</a>
				</div>
			</article>
			
			<article class="item fleft ff_sf_cr_op_box-shadow2">
				<div class="header">
					<h3>
						<a class="toggle" href="#">
							Pinterest is for ALL artists. Yes, even dudes.
						</a>
					</h3>
					June 29, 2012 
					<span>/</span> 
					<a rel="category tag" title="View all posts in Inspiration" href="#">Inspiration</a>
				</div>
				<div class="preview">
					<a href="#">
						<img title="preview" alt="preview" src="<?php echo $img_url; ?>test/thumbnail/g.jpg">
					</a>
				</div>
				<div class="meta">
					<a class="comments-link" href=""><span>&nbsp;</span>10 comments</a>
					
					<a rel="external" class="social-icon facebook" href="" target="_blank">Facebook</a>
					<a rel="external" class="social-icon twitter" href="" target="_blank">twitter</a>
					<a rel="external" class="social-icon google" href="" target="_blank">google plus</a>
					<a rel="external" class="social-icon pinterest" href="" target="_blank">pinterest</a>
				</div>
			</article>
			
			<article class="item fleft ff_sf_cr_op_box-shadow2">
				<div class="header">
					<h3>
						<a class="toggle" href="#">
							Pinterest is for ALL artists. Yes, even dudes.
						</a>
					</h3>
					June 29, 2012 
					<span>/</span> 
					<a rel="category tag" title="View all posts in Inspiration" href="#">Inspiration</a>
				</div>
				<div class="preview">
					<a href="#">
						<img title="preview" alt="preview" src="<?php echo $img_url; ?>test/thumbnail/h.jpg">
					</a>
				</div>
				<div class="meta">
					<a class="comments-link" href=""><span>&nbsp;</span>10 comments</a>
					
					<a rel="external" class="social-icon facebook" href="" target="_blank">Facebook</a>
					<a rel="external" class="social-icon twitter" href="" target="_blank">twitter</a>
					<a rel="external" class="social-icon google" href="" target="_blank">google plus</a>
					<a rel="external" class="social-icon pinterest" href="" target="_blank">pinterest</a>
				</div>
			</article>
			
			<article class="item fleft ff_sf_cr_op_box-shadow2">
				<div class="header">
					<h3>
						<a class="toggle" href="#">
							Pinterest is for ALL artists. Yes, even dudes.
						</a>
					</h3>
					June 29, 2012 
					<span>/</span> 
					<a rel="category tag" title="View all posts in Inspiration" href="#">Inspiration</a>
				</div>
				<div class="preview">
					<a href="#">
						<img title="preview" alt="preview" src="<?php echo $img_url; ?>test/thumbnail/i.jpg">
					</a>
				</div>
				<div class="meta">
					<a class="comments-link" href=""><span>&nbsp;</span>10 comments</a>
					
					<a rel="external" class="social-icon facebook" href="" target="_blank">Facebook</a>
					<a rel="external" class="social-icon twitter" href="" target="_blank">twitter</a>
					<a rel="external" class="social-icon google" href="" target="_blank">google plus</a>
					<a rel="external" class="social-icon pinterest" href="" target="_blank">pinterest</a>
				</div>
			</article>
			
			<article class="item fleft ff_sf_cr_op_box-shadow2">
				<div class="header">
					<h3>
						<a class="toggle" href="#">
							Pinterest is for ALL artists. Yes, even dudes.
						</a>
					</h3>
					June 29, 2012 
					<span>/</span> 
					<a rel="category tag" title="View all posts in Inspiration" href="#">Inspiration</a>
				</div>
				<div class="preview">
					<a href="#">
						<img title="preview" alt="preview" src="<?php echo $img_url; ?>test/thumbnail/j.jpg">
					</a>
				</div>
				<div class="meta">
					<a class="comments-link" href=""><span>&nbsp;</span>10 comments</a>
					
					<a rel="external" class="social-icon facebook" href="" target="_blank">Facebook</a>
					<a rel="external" class="social-icon twitter" href="" target="_blank">twitter</a>
					<a rel="external" class="social-icon google" href="" target="_blank">google plus</a>
					<a rel="external" class="social-icon pinterest" href="" target="_blank">pinterest</a>
				</div>
			</article>
		</div>
		<script>
			(function($){
				$('.preview img').picPortionResize({
					width: 206,
					maxHeight : 600
				});

				$('section.content article .list').masonry({
					itemSelector: '.item',
					singleMode: true,
					resizeable: true,
					animate: true,
					isAnimated: true,
					animationOptions: {
						duration: 390,
						easing: 'linear',
						queue: false
					},
					isFitWidth: true
				});
			})(window.jQuery);
		</script>
	</article>
</section>
<?php $this->_endblock('contents'); ?>















